package com.hnucm.cooklife.contract.foll;

import com.hnucm.cooklife.base.IBaseView;
import com.hnucm.cooklife.bean.db.Foll;

import java.util.List;

import io.reactivex.Observable;

public class Contract {
    public interface IFollModel{
       Observable<List<Foll>> loadFoll(int owner);
       Observable<List<Foll>> refreshFoll(int owner);
    }

    public interface IFollView extends IBaseView {
        void onLoadFoll(List<Foll> follList);
        void onRefreshFoll(List<Foll> follList);
    }

    public interface IFollPresenter{
        void loadFoll(int owner);
        void refreshFoll(int owner);
    }
}
